package com.beiye.drivertransport.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ky on 2018/1/10.
 */

public class CompanyBean implements Serializable {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"orgName":"重庆客运总公司","orgId":"BADD5244-8B0F-44AC-A1E1-18BEDF304954"},{"orgName":"九龙坡XX驾校","orgId":"4626A069-41BE-434A-B44E-ED5022EA862B"}]
     * total : 2
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * orgName : 重庆客运总公司
         * orgId : BADD5244-8B0F-44AC-A1E1-18BEDF304954
         */

        private String orgName;
        private String orgId;

        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }
    }
}
